SlideShare a Scribd company logo
Attendees are muted
Ask questions under Q&A
A recording of this session will be shared
Feedback survey
Read and agree with the Postman Code of Conduct
postman.com/legal/community-code-of-conduct
1
2
3
4
5
Housekeeping
@getpostman
All rights reserved by Postman Inc
Testing and
Developing
GraphQL APIs
@Gbahdeyboh
DEVELOPER RELATIONS ENGINEER
Gbadebo
Bello
DEVELOPER ADVOCATE
POSTMAN
Pooja
Mistry
@poojamakes
@Gbahdeyboh
@getpostman
A little bit about You
GraphQL Overview
Resources
Q&A
1
2
3
4
Agenda
@getpostman
A little about you
● How much experience do you have
with Postman?
○ Less than 6 months
○ 6 months to 1 year
○ 1 year to 3 years
○ More than 3 years
● Do you consider yourself…
○ An API Producer
○ An API Consumer
○ Both
@getpostman
The GraphQL Story
iOS Native App 5.0 Release
Facebook published iOS 5.0, that included
GraphQL as the News Feed API. The project
was led by Dan Schafer, Lee Byron, Nick
Schrock and the iOS team to improve the
mobile user experience.
2012
GraphQL Specification Public
Release
Facebook published the GraphQL specification
document under copyright.
2015
GraphQL Foundation
The primary mission of the GraphQL Foundation
is to ensure that the GraphQL community is able
to focus on the continued evolution of the
specification and reference implementations.
2019
Public GraphQL API
GitHub v4 API was made available through
GraphQL. This was the first public GraphQL
API.
2016
@getpostman
Intro to GraphQL
● Flexible Data Retrieval: GraphQL is
a query language for APIs that
empowers clients to precisely request
the data they need, reducing
over-fetching and under-fetching
issues.
● Single Endpoint: Unlike traditional
APIs, GraphQL employs a single
endpoint for all queries, streamlining
interactions and simplifying the
architecture.
● Efficient Development: GraphQL
enables frontend and backend teams
to collaborate more effectively by
allowing them to iterate independently
and make changes without impacting
each other's work.
@getpostman
GraphQL Operations
● Queries: GraphQL queries allow
clients to request specific data from
the server in a single efficient request.
● Mutations: Mutations in GraphQL
enable clients to modify or create data
on the server in a controlled and
predictable manner.
● Subscriptions: GraphQL
subscriptions provide real-time
updates to clients by allowing them to
subscribe to changes or events on the
server.
@getpostman
GraphQL VS. REST
GraphQL REST
1. Single Endpoint: GraphQL APIs have a single
endpoint, simplifying API interactions.
2. Flexible Queries: Clients can request exactly the
data they need using a single query.
3. No Over/Under-Fetching: GraphQL responses
match query structures, avoiding unnecessary
data transfer.
4. Versioning Handling: No need for separate
endpoints; clients can adapt queries to deprecated
fields.
5. Complex Relationships: Easily fetch related data
with nested queries, reducing multiple round-trips.
1. Multiple Endpoints: REST APIs often have
multiple endpoints for different resources.
2. Fixed Responses: Servers provide predefined
data structures, leading to potential
over/under-fetching.
3. Caching Challenges: Data variability in endpoints
can complicate caching strategies.
4. Versioning Complexity: Requires separate
versioning strategies, creating compatibility
challenges.
5. Simplicity for Simplicity's Sake: Suitable for
straightforward use cases without complex data
requirements.
Let’s get started
tinyurl.com/graphQL-postman-echo
@getpostman
@getpostman
blog.postman.com/postman-joins-graphql-foundation/
Postman Answers
postman.com/postman/workspace/postman-answers/
Postman Quickstarts
quickstarts.postman.com
Postman Intergalactic
postman.com/events/intergalactic/
Community Forum
community.postman.com
@getpostman
Additional Resources
Q&A
@getpostman
Please tell us about your
experience!
FEEDBACK SURVEY
tinyurl.com/postman-graphQL-intergalactic
Thank You
@getpostman

More Related Content

Similar to Testing and Developing GraphQL APIs

The Apollo and GraphQL Stack
The Apollo and GraphQL StackThe Apollo and GraphQL Stack
The Apollo and GraphQL Stack
Sashko Stubailo
 

Similar to Testing and Developing GraphQL APIs (20)

Harnessing the Power of GraphQL in WordPress
Harnessing the Power of GraphQL in WordPressHarnessing the Power of GraphQL in WordPress
Harnessing the Power of GraphQL in WordPress
 
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
 
Introduction to GraphQL
Introduction to GraphQLIntroduction to GraphQL
Introduction to GraphQL
 
Modular GraphQL with Schema Stitching
Modular GraphQL with Schema StitchingModular GraphQL with Schema Stitching
Modular GraphQL with Schema Stitching
 
Adding GraphQL to your existing architecture
Adding GraphQL to your existing architectureAdding GraphQL to your existing architecture
Adding GraphQL to your existing architecture
 
Getting started with GraphQL
Getting started with GraphQLGetting started with GraphQL
Getting started with GraphQL
 
GraphQL with .NET Core Microservices.pdf
GraphQL with .NET Core Microservices.pdfGraphQL with .NET Core Microservices.pdf
GraphQL with .NET Core Microservices.pdf
 
GraphQL
GraphQLGraphQL
GraphQL
 
API Management for GraphQL
API Management for GraphQLAPI Management for GraphQL
API Management for GraphQL
 
CONDG April 23 2020 - Baskar Rao - GraphQL
CONDG April 23 2020 - Baskar Rao - GraphQLCONDG April 23 2020 - Baskar Rao - GraphQL
CONDG April 23 2020 - Baskar Rao - GraphQL
 
Introduction to Graph QL
Introduction to Graph QLIntroduction to Graph QL
Introduction to Graph QL
 
GraphQL.net
GraphQL.netGraphQL.net
GraphQL.net
 
MuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraph
MuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraphMuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraph
MuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraph
 
GraphQL Bangkok meetup 5.0
GraphQL Bangkok meetup 5.0GraphQL Bangkok meetup 5.0
GraphQL Bangkok meetup 5.0
 
Sashko Stubailo - The GraphQL and Apollo Stack: connecting everything together
Sashko Stubailo - The GraphQL and Apollo Stack: connecting everything togetherSashko Stubailo - The GraphQL and Apollo Stack: connecting everything together
Sashko Stubailo - The GraphQL and Apollo Stack: connecting everything together
 
The Apollo and GraphQL Stack
The Apollo and GraphQL StackThe Apollo and GraphQL Stack
The Apollo and GraphQL Stack
 
codersera_com (1).pdf
codersera_com (1).pdfcodersera_com (1).pdf
codersera_com (1).pdf
 
Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6
 
Graphql Overview By Chirag Dodia
Graphql Overview By Chirag DodiaGraphql Overview By Chirag Dodia
Graphql Overview By Chirag Dodia
 
Intro to GraphQL for Database Developers
Intro to GraphQL for Database DevelopersIntro to GraphQL for Database Developers
Intro to GraphQL for Database Developers
 

More from Postman

Discovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with PostmanDiscovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with Postman
Postman
 
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for CollaborationOptimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Postman
 

More from Postman (20)

Elevating Developer Experiences with AI-Powered API Testing & Documentation
Elevating Developer Experiences with AI-Powered API Testing & DocumentationElevating Developer Experiences with AI-Powered API Testing & Documentation
Elevating Developer Experiences with AI-Powered API Testing & Documentation
 
Discovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with PostmanDiscovering Public APIs and Public API Network with Postman
Discovering Public APIs and Public API Network with Postman
 
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for CollaborationOptimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
Optimizing Teamwork: Harnessing Collections & Workspaces for Collaboration
 
API testing Beyond the Basics AI & Automation Techniques
API testing Beyond the Basics AI & Automation TechniquesAPI testing Beyond the Basics AI & Automation Techniques
API testing Beyond the Basics AI & Automation Techniques
 
Not Your Grandma’s Rate Limiting (slides)
Not Your Grandma’s Rate Limiting (slides)Not Your Grandma’s Rate Limiting (slides)
Not Your Grandma’s Rate Limiting (slides)
 
Five Ways to Automate API Testing with Postman
Five Ways to Automate API Testing with PostmanFive Ways to Automate API Testing with Postman
Five Ways to Automate API Testing with Postman
 
How to Scale APIs-as-Product for Future Success
How to Scale APIs-as-Product for Future SuccessHow to Scale APIs-as-Product for Future Success
How to Scale APIs-as-Product for Future Success
 
Revolutionizing API Development: Collaborative Workflows with Postman
Revolutionizing API Development: Collaborative Workflows with PostmanRevolutionizing API Development: Collaborative Workflows with Postman
Revolutionizing API Development: Collaborative Workflows with Postman
 
Everything You Always Wanted to Know About AsyncAPI
Everything You Always Wanted to Know About AsyncAPIEverything You Always Wanted to Know About AsyncAPI
Everything You Always Wanted to Know About AsyncAPI
 
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
Elevating Event-Driven World: A Deep Dive into AsyncAPI v3
 
Five Things You SHOULD Know About Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
 
Integration-, Snapshot- and Performance-Testing APIs
Integration-, Snapshot- and Performance-Testing APIs Integration-, Snapshot- and Performance-Testing APIs
Integration-, Snapshot- and Performance-Testing APIs
 
How ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in PopularityHow ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in Popularity
 
Exploring Postman’s VS Code Extension
Exploring Postman’s VS Code ExtensionExploring Postman’s VS Code Extension
Exploring Postman’s VS Code Extension
 
2023 State of the API Report: Key Findings and Trends
2023 State of the API Report: Key Findings and Trends2023 State of the API Report: Key Findings and Trends
2023 State of the API Report: Key Findings and Trends
 
Nordic- APIOps is here What will you build in an API First World
Nordic- APIOps is here What will you build in an API First World Nordic- APIOps is here What will you build in an API First World
Nordic- APIOps is here What will you build in an API First World
 
Testing and Developing gRPC APIs
Testing and Developing gRPC APIsTesting and Developing gRPC APIs
Testing and Developing gRPC APIs
 
Introduction to API Security - Intergalactic
Introduction to API Security - IntergalacticIntroduction to API Security - Intergalactic
Introduction to API Security - Intergalactic
 
Unboxing What's New in Postman Q2
Unboxing What's New in Postman Q2Unboxing What's New in Postman Q2
Unboxing What's New in Postman Q2
 
Advanced Testing
Advanced TestingAdvanced Testing
Advanced Testing
 

Recently uploaded

Recently uploaded (20)

Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Enterprise Security Monitoring, And Log Management.
Enterprise Security Monitoring, And Log Management.Enterprise Security Monitoring, And Log Management.
Enterprise Security Monitoring, And Log Management.
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 

Testing and Developing GraphQL APIs

  • 1. Attendees are muted Ask questions under Q&A A recording of this session will be shared Feedback survey Read and agree with the Postman Code of Conduct postman.com/legal/community-code-of-conduct 1 2 3 4 5 Housekeeping @getpostman
  • 2. All rights reserved by Postman Inc Testing and Developing GraphQL APIs
  • 3. @Gbahdeyboh DEVELOPER RELATIONS ENGINEER Gbadebo Bello DEVELOPER ADVOCATE POSTMAN Pooja Mistry @poojamakes @Gbahdeyboh
  • 4. @getpostman A little bit about You GraphQL Overview Resources Q&A 1 2 3 4 Agenda
  • 5. @getpostman A little about you ● How much experience do you have with Postman? ○ Less than 6 months ○ 6 months to 1 year ○ 1 year to 3 years ○ More than 3 years ● Do you consider yourself… ○ An API Producer ○ An API Consumer ○ Both
  • 6. @getpostman The GraphQL Story iOS Native App 5.0 Release Facebook published iOS 5.0, that included GraphQL as the News Feed API. The project was led by Dan Schafer, Lee Byron, Nick Schrock and the iOS team to improve the mobile user experience. 2012 GraphQL Specification Public Release Facebook published the GraphQL specification document under copyright. 2015 GraphQL Foundation The primary mission of the GraphQL Foundation is to ensure that the GraphQL community is able to focus on the continued evolution of the specification and reference implementations. 2019 Public GraphQL API GitHub v4 API was made available through GraphQL. This was the first public GraphQL API. 2016
  • 7. @getpostman Intro to GraphQL ● Flexible Data Retrieval: GraphQL is a query language for APIs that empowers clients to precisely request the data they need, reducing over-fetching and under-fetching issues. ● Single Endpoint: Unlike traditional APIs, GraphQL employs a single endpoint for all queries, streamlining interactions and simplifying the architecture. ● Efficient Development: GraphQL enables frontend and backend teams to collaborate more effectively by allowing them to iterate independently and make changes without impacting each other's work.
  • 8. @getpostman GraphQL Operations ● Queries: GraphQL queries allow clients to request specific data from the server in a single efficient request. ● Mutations: Mutations in GraphQL enable clients to modify or create data on the server in a controlled and predictable manner. ● Subscriptions: GraphQL subscriptions provide real-time updates to clients by allowing them to subscribe to changes or events on the server.
  • 9. @getpostman GraphQL VS. REST GraphQL REST 1. Single Endpoint: GraphQL APIs have a single endpoint, simplifying API interactions. 2. Flexible Queries: Clients can request exactly the data they need using a single query. 3. No Over/Under-Fetching: GraphQL responses match query structures, avoiding unnecessary data transfer. 4. Versioning Handling: No need for separate endpoints; clients can adapt queries to deprecated fields. 5. Complex Relationships: Easily fetch related data with nested queries, reducing multiple round-trips. 1. Multiple Endpoints: REST APIs often have multiple endpoints for different resources. 2. Fixed Responses: Servers provide predefined data structures, leading to potential over/under-fetching. 3. Caching Challenges: Data variability in endpoints can complicate caching strategies. 4. Versioning Complexity: Requires separate versioning strategies, creating compatibility challenges. 5. Simplicity for Simplicity's Sake: Suitable for straightforward use cases without complex data requirements.
  • 12. Postman Answers postman.com/postman/workspace/postman-answers/ Postman Quickstarts quickstarts.postman.com Postman Intergalactic postman.com/events/intergalactic/ Community Forum community.postman.com @getpostman Additional Resources
  • 13. Q&A @getpostman Please tell us about your experience! FEEDBACK SURVEY tinyurl.com/postman-graphQL-intergalactic